package org.madgecko.basic.dao.iface;

import org.madgecko.basic.dao.IBaseDao;
import org.madgecko.basic.model.Role;
import org.madgecko.basic.model.User;
import org.madgecko.basic.model.UserRole;

import java.util.List;

public interface IUserRoleDao extends IBaseDao<UserRole> {
	void deleteByRole(int roleId);
	void deleteByUser(int userId);
	void deleteByUserAndRole(Integer userId, Integer roleId);
}
